package com.zwj.gulimall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zwj.common.utils.PageUtils;
import com.zwj.gulimall.product.entity.CategoryEntity;

import java.util.List;
import java.util.Map;

/**
 * 商品三级分类
 *
 * @author zwJ
 * @email 1115125167@qq.com
 * @date 2020-08-03 22:41:12
 */
public interface CategoryService extends IService<CategoryEntity> {

    PageUtils queryPage(Map<String, Object> params);

    /**
     * 查找属性分类菜单
     * @return
     */
    List<CategoryEntity> findListWithTree();

    /**
     * 逻辑删除
     * @param longs
     */
    void rmMenusByIds(List<Long> longs);
}

